package com.recyclerviewdemo.Services;

import com.recyclerviewdemo.entity.GankResult;

import retrofit2.http.GET;
import retrofit2.http.Path;
import rx.Observable;

/**
 * Created by Yang on 2016/9/3.
 */
public interface GankApi {
    @GET("data/{type}/{count}/{pageIndex}")
    Observable<GankResult> getAllDate(@Path("type") String type,
                                     @Path("count") int count,
                                     @Path("pageIndex") int pageIndex
    );
}
